#ifndef MLANG_LANG_JAVA_JAVA_H
#define MLANG_LANG_JAVA_JAVA_H

#include <Define.h>

typedef struct JavaVM_ JavaVM;
typedef struct JNIEnv_ JNIEnv;

namespace multilang {

class Java {
public:
    static JavaVM* jvm;

    static bool init();
    static bool uninit();
    static JNIEnv* attachThread();
    static void detachThread();
    static JNIEnv* getEnv();
};

}

#endif